package net.realsee.service.wcs.device;

import com.baomidou.mybatisplus.extension.service.IService;
import net.realsee.domain.wcs.device.WcsEquipment;
import net.realsee.domain.wcs.device.bo.WcsEquipmentBo;
import net.realsee.domain.wcs.device.vo.WcsEquipmentVo;
import net.realsee.framework.core.domain.PageQuery;
import net.realsee.framework.core.page.TableDataInfo;

import java.util.Collection;
import java.util.List;

/**
 * 设备信息Service接口
 *
 * @author realsee
 * @date 2023-08-11
 */
public interface IWcsEquipmentService extends IService<WcsEquipment> {

    /**
     * 查询设备信息
     */
    WcsEquipmentVo selectVoById(Long id);

    /**
     * 查询设备信息列表
     */
    TableDataInfo<WcsEquipmentVo> selectVoPage(WcsEquipmentBo bo, PageQuery pageQuery);

    /**
     * 查询设备信息列表
     */
    List<WcsEquipmentVo> selectVoList(WcsEquipmentBo bo);

    /**
     * 新增设备信息
     */
    Boolean insertByBo(WcsEquipmentBo bo);

    /**
     * 修改设备信息
     */
    Boolean updateByBo(WcsEquipmentBo bo);

    /**
     * 校验并批量删除设备信息信息
     */
    Boolean deleteWithValidByIds(Collection<Long> ids);
}
